-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Propose Documentation for Software Best Practices, Coding Conventions, and Style #1504
Propose Documentation for Software Best Practices, Coding Conventions, and Style #1504
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
shared infrastructure bears the least flexibility and bears the greatest | ||
adherence to these guidelines. | ||
|
||
image:CODING_STYLE_GUIDE-figure1.png[Figure 1. Graphical summary of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure that we should say that C++ is required, and straight C is not ok? (Maybe I'm reading this diagram incorrectly).
Maybe we can just remove this diagram, and/or make C allowed in all boxes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the diagram to show / allow C/C++ in C++ contexts.
Merge in WMN_TOOLS/matter from documentation/port_changes_back to silabs Squashed commit of the following: commit 803031a4a0194fdca7ebf4d3bd6097f884f8f2d6 Author: Curtis Rahman <[email protected]> Date: Thu Jan 25 15:29:13 2024 -0500 Added back removed last release new features commit 4131dcf57c030f876816295e9efc25f660bcdd04 Author: Curtis Rahman <[email protected]> Date: Thu Jan 18 15:47:27 2024 -0500 Ported back changes
Merge in WMN_TOOLS/matter from documentation/port_changes_back to silabs Squashed commit of the following: commit 803031a4a0194fdca7ebf4d3bd6097f884f8f2d6 Author: Curtis Rahman <[email protected]> Date: Thu Jan 25 15:29:13 2024 -0500 Added back removed last release new features commit 4131dcf57c030f876816295e9efc25f660bcdd04 Author: Curtis Rahman <[email protected]> Date: Thu Jan 18 15:47:27 2024 -0500 Ported back changes
Merge in WMN_TOOLS/matter from documentation/port_changes_back to silabs Squashed commit of the following: commit 803031a4a0194fdca7ebf4d3bd6097f884f8f2d6 Author: Curtis Rahman <[email protected]> Date: Thu Jan 25 15:29:13 2024 -0500 Added back removed last release new features commit 4131dcf57c030f876816295e9efc25f660bcdd04 Author: Curtis Rahman <[email protected]> Date: Thu Jan 18 15:47:27 2024 -0500 Ported back changes
Merge in WMN_TOOLS/matter from documentation/port_changes_back to silabs Squashed commit of the following: commit 803031a4a0194fdca7ebf4d3bd6097f884f8f2d6 Author: Curtis Rahman <[email protected]> Date: Thu Jan 25 15:29:13 2024 -0500 Added back removed last release new features commit 4131dcf57c030f876816295e9efc25f660bcdd04 Author: Curtis Rahman <[email protected]> Date: Thu Jan 18 15:47:27 2024 -0500 Ported back changes
Merge in WMN_TOOLS/matter from documentation/port_changes_back to silabs Squashed commit of the following: commit 803031a4a0194fdca7ebf4d3bd6097f884f8f2d6 Author: Curtis Rahman <[email protected]> Date: Thu Jan 25 15:29:13 2024 -0500 Added back removed last release new features commit 4131dcf57c030f876816295e9efc25f660bcdd04 Author: Curtis Rahman <[email protected]> Date: Thu Jan 18 15:47:27 2024 -0500 Ported back changes
Problem
CHIP will be composed of much software contributed from participating member organizations. However, for any new CHIP code, there should be documentation for software best practices, coding conventions, and style.
Summary of Changes
Proposed a minimal framework for a documentation guide, in AsciiDoc format, for software best practices, coding conventions, and style.
This reflects this conversation snippet on a prior, broader-scope approach to this document in that it restricts the initial framework to essentially one simple maxim: "When in Rome, do as the Romans do.". We can add from here as repetition and consensus dictate.
Fixes #335